//
//  View_AudioPlayer.h
//  yjw-winner
//
//  Created by 王春辉 on 2018/9/14.
//  Copyright © 2018年 Shanghai decade financial information service co., LTD. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface View_AudioPlayer : UIView
@property (weak, nonatomic) IBOutlet UIImageView *headerImageView;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UILabel *lectureNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *progressLabel;
@property (weak, nonatomic) IBOutlet UISlider *progressSlider;
@property (weak, nonatomic) IBOutlet UILabel *totalProgressLabel;
@property (weak, nonatomic) IBOutlet UIButton *previousFiftyButton;
@property (weak, nonatomic) IBOutlet UIButton *forwardFiftyButton;
@property (weak, nonatomic) IBOutlet UIButton *previousButton;
@property (weak, nonatomic) IBOutlet UIButton *nextButton;
@property (weak, nonatomic) IBOutlet UIButton *playButton;

+ (View_AudioPlayer *)audioPlayerView;

/**
 设置头像
 
 @param url url
 */
- (void)audioSetHeadImageViewWithImageUrl:(NSString *)url;

/**
 设置content
 
 @param text text
 */
- (void)audioSetContentTextWith:(NSString *)text;

/**
 设置播放进度
 
 @param text text
 */
- (void)audioSetProgressLabelTextWith:(NSString *)text;

/**
 设置slider progress
 
 @param progress progress
 */
- (void)audioSetProgressSliderValueWith:(CGFloat)progress;

/**
 设置播放总时间
 
 @param text text
 */
- (void)audioSetTotalProgressLabelTextWith:(NSString *)text;
/**
 设置播放按钮播放状态
 
 @param isPause YES/NO
 */
- (void)audioSetPlayButtonStatus:(BOOL)isPause;

@end
